import Vue from 'vue/dist/vue.esm.browser'



window.vm = new Vue({
  data: {
    counter: 1,
    value: ''
  },
  methods: {
    handleAdd(num1, e, num2) {
      console.log(e, num1, num2);
      this.counter++
    },
    handleClick() {
      console.log(111);
    },
    handleYe() {
      alert('爷爷')
    },
    handleDie() {
      alert('巴巴')
    },
    handleEr() {
      alert('儿子')
    },
    handleEnter() {
      alert(this.value)
    }
  }
})

// 挂载节点
window.vm.$mount('#app')